﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Display {
    import flash.display.*;
    import flash.filters.*;
    import flash.text.*;

    public class StrokeTextField extends TextField {

        protected const STROKE_BLUR:Number = 1.5;
        protected const STROKE_STRENGTH:Number = 50;

        public var strokeFilter:GlowFilter;

        public function StrokeTextField(_arg1:uint=0, _arg2:Number=0.8){
            this.strokeFilter = new GlowFilter(_arg1, alpha, this.STROKE_BLUR, this.STROKE_BLUR, this.STROKE_STRENGTH, BitmapFilterQuality.HIGH);
            this.filters = [this.strokeFilter];
            this.selectable = false;
            this.blendMode = BlendMode.LAYER;
            this.cacheAsBitmap = true;
            this.autoSize = TextFieldAutoSize.LEFT;
            this.mouseEnabled = false;
            this.mouseWheelEnabled = false;
        }
        public function set toolTipText(_arg1:String):void{
            if (_arg1){
                this.htmlText = _arg1;
            };
        }

    }
}//package Display 
